import { createApp } from "vue";
import App from "./App.vue";
// 引入elementuI
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import laodIcon from "../src/components/index";
import "virtual:svg-icons-register"; // svg图标

// 引入scss
import "@/styles/index.scss";
// 引入路由
import router from "@/router";
// 引入pinia仓库
import pinia from "@/store";

const vue = createApp(App);
//使用element插件,icon图标
laodIcon.install(vue);
vue.use(ElementPlus, { locale: zhCn });
vue.use(router);
vue.use(pinia);
vue.mount("#app");
const sin = " xia";
console.log(sin);
